package com.yiding.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yiding.sys.pojo.OrderInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author War horse imwarhorse@aliyun.com
 * Date: 2020/8/7
 * Description: No Description
 */

public interface OrderInfoMapper extends BaseMapper<OrderInfo> {

	List<OrderInfo> selectAll(@Param("p") Page<OrderInfo> page,
	                          @Param("u") Map<String, Object> params);

	List<OrderInfo> selectByQueryParams(@Param("p") Page<OrderInfo> page,
	                                    @Param("u") Map<String, Object> params,
	                                    @Param("orderInfo") OrderInfo queryObj);

}
